package com.dhcc.bpm.modules.sandbox.vo;

import com.dhcc.bpm.modules.sandbox.entity.ReturnCode;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.NullSerializer;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;

/**
 * @ClassName ReturnCodeVO
 * @Description 返回码表视图实体类
 * @Author sjm
 * @Date 2020/2/21 0021 15:16
 * @Version V1.0
 * @Copyright: 2020 东华软件 . All rights reserved.
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ReturnVO对象", description = "返回码表")
public class ReturnCodeVO extends ReturnCode {
	private static final long serialVersionUID = 1L;

	/**
	 * 实例ID
	 */
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Long caseId;

	/**
	 * 接口ID
	 */
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Long apiId;

	/**
	 * 附件真实名称
	 */
	private String fileRealName;
	/**
	 * 附件真实路径
	 */
	private String fileFullPath;

	/**当前最大排序*/
	@JsonSerialize(using = ToStringSerializer.class,nullsUsing = NullSerializer.class)
	private Long maxOrder;

	private String apiCode;
	private String apiName;
	private String apiVersion;
	/**
	 * 用例执行次数
	 */
	private Long caseNum;
}
